package net.betou.trade.main.dao;


import net.betou.common.hibernate3.Updater;
import net.betou.common.page.Pagination;
import net.betou.trade.entity.main.Suggestion;

/**
 * 意见DAO接口。
 * 
 * 
 * @author O.Y.
 * 
 */
public interface SuggestionDao{
	
	public Suggestion save( Suggestion bean );
	
	public Suggestion deleteById( Integer id );
	
	public Suggestion updateByUpdater( Updater< Suggestion > updater );
	
	public Suggestion findById( Integer id );
	
	public Suggestion findMySuggestion( Integer id, Integer selfId );
	
	public Pagination getPage( Integer selfId, String topIntermedia, String deepHql, String searchProperty, String searchValue, String orderProperty, String orderDirection, int pageNo, int pageSize, String filter );
	
}